package com.cx.mapper;

import com.cx.entity.ZtCustomer;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ZtCustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ZtCustomer record);

    int insertOrUpdate(ZtCustomer record);

    int insertOrUpdateSelective(ZtCustomer record);

    int insertSelective(ZtCustomer record);

    ZtCustomer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ZtCustomer record);

    int updateByPrimaryKey(ZtCustomer record);

    int updateBatch(List<ZtCustomer> list);

    int batchInsert(@Param("list") List<ZtCustomer> list);

    List<ZtCustomer> list(ZtCustomer ztCustomer);


    int deleteCustomer(@Param("ids") List<Integer> ids);

    int count(ZtCustomer ztCustomer);
}